using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace DTO
{
	/// <summary> 
	///Author: nnamthach@gmail.com 
	/// <summary>
	
    public class OpGioInfo : DTOInfo
    {
		#region Local Variable
		public class Field {
            public const string
				XuongId = "XuongId"
				,LineId = "LineId"
				,BatDau = "BatDau"
				,GioLam1 = "GioLam1"
				,GioLam2 = "GioLam2"
				,GioLam3 = "GioLam3"
				,GioLam4 = "GioLam4"
				,GioLam5 = "GioLam5"
				,GioLam6 = "GioLam6"
				,GioLam7 = "GioLam7"
				,GioLam8 = "GioLam8"
				,GioLam9 = "GioLam9"
				,GioLam10 = "GioLam10"
				,GioLam11 = "GioLam11"
				,GioLam12 = "GioLam12"
				,GioLam13 = "GioLam13"
				,GioLam14 = "GioLam14"
				,GioLam15 = "GioLam15"
				,GioLam16 = "GioLam16"
				,GioLam17 = "GioLam17"
				,GioLam18 = "GioLam18"
				,GioLam19 = "GioLam19"
				,GioLam20 = "GioLam20"
				,GioNghi1 = "GioNghi1"
				,GioNghi2 = "GioNghi2"
				,GioNghi3 = "GioNghi3"
				,GioNghi4 = "GioNghi4"
				,GioNghi5 = "GioNghi5"
				,GioNghi6 = "GioNghi6"
				,GioNghi7 = "GioNghi7"
				,GioNghi8 = "GioNghi8"
				,GioNghi9 = "GioNghi9"
				,GioNghi10 = "GioNghi10"
				,GioNghi11 = "GioNghi11"
				,GioNghi12 = "GioNghi12"
				,GioNghi13 = "GioNghi13"
				,GioNghi14 = "GioNghi14"
				,GioNghi15 = "GioNghi15"
				,GioNghi16 = "GioNghi16"
				,GioNghi17 = "GioNghi17"
				,GioNghi18 = "GioNghi18"
				,GioNghi19 = "GioNghi19"
				,GioNghi20 = "GioNghi20"
                , SoGiaiDoan = "SoGiaiDoan"
            ;
		}
		private String _XuongId;
		private Int32? _LineId;
		private Int32? _BatDau;
		private Int32? _GioLam1;
		private Int32? _GioLam2;
		private Int32? _GioLam3;
		private Int32? _GioLam4;
		private Int32? _GioLam5;
		private Int32? _GioLam6;
		private Int32? _GioLam7;
		private Int32? _GioLam8;
		private Int32? _GioLam9;
		private Int32? _GioLam10;
		private Int32? _GioLam11;
		private Int32? _GioLam12;
		private Int32? _GioLam13;
		private Int32? _GioLam14;
		private Int32? _GioLam15;
		private Int32? _GioLam16;
		private Int32? _GioLam17;
		private Int32? _GioLam18;
		private Int32? _GioLam19;
		private Int32? _GioLam20;
		private Int32? _GioNghi1;
		private Int32? _GioNghi2;
		private Int32? _GioNghi3;
		private Int32? _GioNghi4;
		private Int32? _GioNghi5;
		private Int32? _GioNghi6;
		private Int32? _GioNghi7;
		private Int32? _GioNghi8;
		private Int32? _GioNghi9;
		private Int32? _GioNghi10;
		private Int32? _GioNghi11;
		private Int32? _GioNghi12;
		private Int32? _GioNghi13;
		private Int32? _GioNghi14;
		private Int32? _GioNghi15;
		private Int32? _GioNghi16;
		private Int32? _GioNghi17;
		private Int32? _GioNghi18;
		private Int32? _GioNghi19;
		private Int32? _GioNghi20;
        private Int32? _SoGiaiDoan;
		
		public String XuongId { get{ return _XuongId; } set{ _XuongId = value; } }
		public Int32? LineId { get{ return _LineId; } set{ _LineId = value; } }
		public Int32? BatDau { get{ return _BatDau; } set{ _BatDau = value; } }
		public Int32? GioLam1 { get{ return _GioLam1; } set{ _GioLam1 = value; } }
		public Int32? GioLam2 { get{ return _GioLam2; } set{ _GioLam2 = value; } }
		public Int32? GioLam3 { get{ return _GioLam3; } set{ _GioLam3 = value; } }
		public Int32? GioLam4 { get{ return _GioLam4; } set{ _GioLam4 = value; } }
		public Int32? GioLam5 { get{ return _GioLam5; } set{ _GioLam5 = value; } }
		public Int32? GioLam6 { get{ return _GioLam6; } set{ _GioLam6 = value; } }
		public Int32? GioLam7 { get{ return _GioLam7; } set{ _GioLam7 = value; } }
		public Int32? GioLam8 { get{ return _GioLam8; } set{ _GioLam8 = value; } }
		public Int32? GioLam9 { get{ return _GioLam9; } set{ _GioLam9 = value; } }
		public Int32? GioLam10 { get{ return _GioLam10; } set{ _GioLam10 = value; } }
		public Int32? GioLam11 { get{ return _GioLam11; } set{ _GioLam11 = value; } }
		public Int32? GioLam12 { get{ return _GioLam12; } set{ _GioLam12 = value; } }
		public Int32? GioLam13 { get{ return _GioLam13; } set{ _GioLam13 = value; } }
		public Int32? GioLam14 { get{ return _GioLam14; } set{ _GioLam14 = value; } }
		public Int32? GioLam15 { get{ return _GioLam15; } set{ _GioLam15 = value; } }
		public Int32? GioLam16 { get{ return _GioLam16; } set{ _GioLam16 = value; } }
		public Int32? GioLam17 { get{ return _GioLam17; } set{ _GioLam17 = value; } }
		public Int32? GioLam18 { get{ return _GioLam18; } set{ _GioLam18 = value; } }
		public Int32? GioLam19 { get{ return _GioLam19; } set{ _GioLam19 = value; } }
		public Int32? GioLam20 { get{ return _GioLam20; } set{ _GioLam20 = value; } }
		public Int32? GioNghi1 { get{ return _GioNghi1; } set{ _GioNghi1 = value; } }
		public Int32? GioNghi2 { get{ return _GioNghi2; } set{ _GioNghi2 = value; } }
		public Int32? GioNghi3 { get{ return _GioNghi3; } set{ _GioNghi3 = value; } }
		public Int32? GioNghi4 { get{ return _GioNghi4; } set{ _GioNghi4 = value; } }
		public Int32? GioNghi5 { get{ return _GioNghi5; } set{ _GioNghi5 = value; } }
		public Int32? GioNghi6 { get{ return _GioNghi6; } set{ _GioNghi6 = value; } }
		public Int32? GioNghi7 { get{ return _GioNghi7; } set{ _GioNghi7 = value; } }
		public Int32? GioNghi8 { get{ return _GioNghi8; } set{ _GioNghi8 = value; } }
		public Int32? GioNghi9 { get{ return _GioNghi9; } set{ _GioNghi9 = value; } }
		public Int32? GioNghi10 { get{ return _GioNghi10; } set{ _GioNghi10 = value; } }
		public Int32? GioNghi11 { get{ return _GioNghi11; } set{ _GioNghi11 = value; } }
		public Int32? GioNghi12 { get{ return _GioNghi12; } set{ _GioNghi12 = value; } }
		public Int32? GioNghi13 { get{ return _GioNghi13; } set{ _GioNghi13 = value; } }
		public Int32? GioNghi14 { get{ return _GioNghi14; } set{ _GioNghi14 = value; } }
		public Int32? GioNghi15 { get{ return _GioNghi15; } set{ _GioNghi15 = value; } }
		public Int32? GioNghi16 { get{ return _GioNghi16; } set{ _GioNghi16 = value; } }
		public Int32? GioNghi17 { get{ return _GioNghi17; } set{ _GioNghi17 = value; } }
		public Int32? GioNghi18 { get{ return _GioNghi18; } set{ _GioNghi18 = value; } }
		public Int32? GioNghi19 { get{ return _GioNghi19; } set{ _GioNghi19 = value; } }
		public Int32? GioNghi20 { get{ return _GioNghi20; } set{ _GioNghi20 = value; } }
        public Int32? SoGiaiDoan { get { return _SoGiaiDoan; } set { _SoGiaiDoan = value; } }
		
        #endregion LocalVariable
        
        #region Constructor
		public OpGioInfo() { }
        public OpGioInfo(String XuongId, Int32 LineId, Int32 BatDau, Int32 GioLam1, Int32 GioLam2, Int32 GioLam3, Int32 GioLam4, Int32 GioLam5, Int32 GioLam6, Int32 GioLam7, Int32 GioLam8, Int32 GioLam9, Int32 GioLam10, Int32 GioLam11, Int32 GioLam12, Int32 GioLam13, Int32 GioLam14, Int32 GioLam15, Int32 GioLam16, Int32 GioLam17, Int32 GioLam18, Int32 GioLam19, Int32 GioLam20, Int32 GioNghi1, Int32 GioNghi2, Int32 GioNghi3, Int32 GioNghi4, Int32 GioNghi5, Int32 GioNghi6, Int32 GioNghi7, Int32 GioNghi8, Int32 GioNghi9, Int32 GioNghi10, Int32 GioNghi11, Int32 GioNghi12, Int32 GioNghi13, Int32 GioNghi14, Int32 GioNghi15, Int32 GioNghi16, Int32 GioNghi17, Int32 GioNghi18, Int32 GioNghi19, Int32 GioNghi20, Int32 SoGiaiDoan)
        {
			_XuongId = XuongId;
			_LineId = LineId;
			_BatDau = BatDau;
			_GioLam1 = GioLam1;
			_GioLam2 = GioLam2;
			_GioLam3 = GioLam3;
			_GioLam4 = GioLam4;
			_GioLam5 = GioLam5;
			_GioLam6 = GioLam6;
			_GioLam7 = GioLam7;
			_GioLam8 = GioLam8;
			_GioLam9 = GioLam9;
			_GioLam10 = GioLam10;
			_GioLam11 = GioLam11;
			_GioLam12 = GioLam12;
			_GioLam13 = GioLam13;
			_GioLam14 = GioLam14;
			_GioLam15 = GioLam15;
			_GioLam16 = GioLam16;
			_GioLam17 = GioLam17;
			_GioLam18 = GioLam18;
			_GioLam19 = GioLam19;
			_GioLam20 = GioLam20;
			_GioNghi1 = GioNghi1;
			_GioNghi2 = GioNghi2;
			_GioNghi3 = GioNghi3;
			_GioNghi4 = GioNghi4;
			_GioNghi5 = GioNghi5;
			_GioNghi6 = GioNghi6;
			_GioNghi7 = GioNghi7;
			_GioNghi8 = GioNghi8;
			_GioNghi9 = GioNghi9;
			_GioNghi10 = GioNghi10;
			_GioNghi11 = GioNghi11;
			_GioNghi12 = GioNghi12;
			_GioNghi13 = GioNghi13;
			_GioNghi14 = GioNghi14;
			_GioNghi15 = GioNghi15;
			_GioNghi16 = GioNghi16;
			_GioNghi17 = GioNghi17;
			_GioNghi18 = GioNghi18;
			_GioNghi19 = GioNghi19;
			_GioNghi20 = GioNghi20;
            _SoGiaiDoan = SoGiaiDoan;
		}
		public OpGioInfo(DataRow dr) {
			LoadDataRow(dr);
		}

		public OpGioInfo(DataRowView dr) : this(dr.Row) { }
		
		public OpGioInfo(OpGioInfo objEntr) : base(objEntr) {	}
        #endregion Constructor       
        
    }
}
